Compliance testing for wrapper-based API migration
نویسندگان
چکیده
Wrapping is an established technique for API migration: the use of a given API within the system under migration is replaced by the use of a wrapper-based re-implementation of said API while using a different (preferred) API underneath. Except for some special cases, wrapper development is a craft. In particular, the compliance of a wrapper with the original API is hard to assess and guidance of wrapper development is very limited. In this paper, we describe a method for wrapper development that is essentially inspired by notions of scenario-based differential testing, API contracts as well as selective capture and replay of program executions. The method supports compliance testing of the wrapper under development against the original API; it guides the developer in improving compliance incrementally; it also allows for precise capture of unresolved differences between original API and wrapper. The method is evaluated by a study of wrapper development with different wrappers in the domains of XML processing, byte-code engineering, and GUI
منابع مشابه
Migration of Applications across Object-Oriented APIs
Software developers often encapsulate reusable code as Application Programming Interfaces (APIs). The co-evolution of applications and APIs may motivate an API migration: the replacement of application dependencies to an original API by dependencies to an alternative API that provides similar functionality and abstractions. In this dissertation, we investigate issues associated with API migrati...
متن کاملStudy of an API Migration for Two XML APIs
API migration refers to adapting an application such that its dependence on a given API (the source API) is eliminated in favor of depending on an alternative API (the target API), where both APIs serve the same domain. One may attempt to automate API migration by code transformation or wrapping of some sort. API migration is relatively well understood for the special case where source and targ...
متن کاملEnhanced P1500 Compliant Wrapper suitable for Delay Fault Testing of Embedded Cores
Continual advances in the manufacturing processes of integrated circuits provide designers the ability to create more complex and denser architectures and increased functionality on a single chip. The increased usage of embedded cores necessitates a core-based test strategy in which cores are also tested separately. The IEEE P1500 proposed standard for Embedded Core Test (SECT) is a standard un...
متن کاملDelay Fault Testing of Embedded Cores using an Enhanced P1500 Compliant Wrapper
Continual advances in the manufacturing processes of integrated circuits provide designers the ability to create more complex and denser architectures and increased functionality on a single chip. The increased usage of embedded cores necessitates a core-based test strategy in which cores are also tested separately. The IEEE P1500 proposed standard for Embedded Core Test (SECT) is a standard un...
متن کاملNon-invasive assessment of arterial stiffness using oscillometric blood pressure measurement
BACKGROUND Arterial stiffness is a major contributor to cardiovascular diseases. Because current methods of measuring arterial stiffness are technically demanding, the purpose of this study was to develop a simple method of evaluating arterial stiffness using oscillometric blood pressure measurement. METHODS Blood pressure was conventionally measured in the left upper arm of 173 individuals u...
متن کامل